package com.marry.myspringmvc.service;

import com.marry.myspringmvc.annotation.Qualifier;
import com.marry.myspringmvc.annotation.Service;
import com.marry.myspringmvc.dao.UserDao;

/**
 * @author ml
 * @create 2017-08-01--17:45
 */
@Service("userServiceImpl")
public class UserServiceImpl implements UserService {

    @Qualifier("userDaoImpl")
    private UserDao userDao;
    @Override
    public void insert() {
        System.out.println("UserServiceImpl.insert --start");
        userDao.insert();
        System.out.println("UserServiceImpl.insert --end");

    }
}
